<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css" href="css/front.css" rel="stylesheet" />
<link type="text/css" href="css/main.css" rel="stylesheet" />
<link type="text/css" href="css/home.css" rel="stylesheet" />
<link type="text/css" href="css/alert.css" rel="stylesheet"/>
<link type="text/css" href="css/jquery-ui-1.8.16.custom.css" rel="stylesheet" />
<script type="text/javascript" src="common/JsSupport.js"></script>
<script type="text/javascript" src="page/settings/category/expenditure/js/categoryExpenditureSettingsSub.js"></script>
<title>记账本</title>
</head>
<body>
	支出分类的子类
	<div align="center">
	<label>请选择支出大类：</label>
	<select id="category">
		<option value="">--请选择--</option>
		<s:iterator value="categoryList" >
			<option value='<s:property value="id"/>'><s:property value="categoryName"/></option>
		</s:iterator>
	</select>
	<input id="newCategory" type="button" value="新增小类"/>
	<a href="<s:url action="showCategoryExpenditureSettingsPage"/>">返回大类</a>
	</div>
	<div id="costTableDiv">
	</div>
	
	<div id="editDiv" style="display: none;">
	<s:form id="editForm">
		<table>
			<tr style="display: none;">
				<td> 分类id：</td>
				<td><s:textfield name="category.id"  theme="simple" id="editId"/></td>
			</tr>
			<tr>
				<td width="100px" height="30px" align="right"> <span style="color:red">*</span>名称：</td>
				<td><s:textfield name="category.categoryName"  theme="simple" id="editName" cssClass="txt_input"/></td>
			</tr>
			
			<tr>
				<td>&nbsp;</td>
				<td><input type="reset" id="dialogReset" style="display: none" value="清空"/></td>
			</tr>
			</tbody>
		</table>
	</s:form>
	</div>
	
</body>

</html>